<? /*<script language="javascript" type="text/javascript">
function addItems()
{
    i = parseFloat(document.getElementById("pocet").value)+1;
    num = i+1;
    document.getElementById("pocet").value = i;

	label = Builder.node('label',{for:'DownloadSummary'},'<? __("FILES_SUMMARY"); ?>');
	summary = Builder.node('input',{type:'text',style:'width:50%',id:'DownloadSummary',name:'data[Summary]['+i+']',label:'false',div:'false'});
	input = Builder.node('input',{type:'file',size:'50',id:'DownloadFile',name:'data[Download]['+i+'][file]',label:'false',div:'false',error:'false'});
	content = Builder.node('li',[label]);
	$('pictures').appendChild(content);
    content = Builder.node('li',[summary]);
    $('pictures').appendChild(content);
    content = Builder.node('li',[input]);
    $('pictures').appendChild(content);
}
</script>*/ ?>
<? echo $adminMenu->manage(); ?>
<div class="file">
<? echo $form->create(array('enctype'=>'multipart/form-data')); ?>
<fieldset>
	<legend><? __('FILE_NEW_TITLE'); ?></legend>
	<ul>
		<? //<li><input type="hidden" name="pocet" id="pocet" value="0"></li> ?>
		<li><? echo $form->input('summary',array('label'=>__('DESCRIPTION',true),'div'=>false,'style'=>'width:95%')); ?></li>
		<li><?php echo $form->file("file",array('size'=>100)); ?></li>
	</ul>
	<? /*<p><a href="#" onClick="addItems(); return false;"><? __('ADD_MORE_FILES'); ?></a></p>*/ ?>
</fieldset>
<div class="input_line">
	<? echo $form->submit(__('SEND',true)); ?>
</div>
</form>
</div>